package com.xnck.example.jertest.dao;

import com.xnck.example.jertest.dao.helper.BaseDao;
import com.xnck.example.jertest.entity.DicInfo;
import org.springframework.stereotype.Component;

@Component
public class DicDao extends BaseDao<DicInfo> {

    public DicInfo insert(String id, String name) {
        DicInfo dicInfo = new DicInfo();
        dicInfo.setId(id);
        dicInfo.setName(name);
        return insert(dicInfo);
    }
}
